
import JsonSeriable from "@/lib/field/base/JsonSeriable"
import JsonSeriType from "@/lib/field/base/JsonSeriType"
export default class FlowInfo extends JsonSeriable{
	
	#name ;
	
	constructor(name){
		super();
		this.#name = name;
		super.seriType = new JsonSeriType("FlowInfo","flow");
		
	}
	
	genSeriObj(){
		let ret={
			"name":this.#name
		};
		return ret;

	}
	
	seriObj(obj){
		
		this.#name =  obj.name;
		
	}
	
	genProdObj(){
		return this.genSeriObj();
	}
	
	get name(){
		return this.#name;
	}
	
	set name(v){
		this.#name = v ;
	}
}